import React, {Component} from 'react'

// 与上面写的相同
// import React from 'react'
// const Component = React.Component

class App extends Component{
    render(){
        return (
            <ul className="my-list">
                <li>{true?'wjf':'JSPang.com'}</li>
                <li>I love React</li>
            </ul>
        )
    }
}

// 自定义组件命名首字母大写
export default App